//登录非空判断
function checkLogin() {
    var Username = loginForm.Username.value;
    var Password = loginForm.Password.value;
    if (Username == "" || Username == null) {
        alert("请务必输入用户名！");
        loginForm.Username.focus();
        return false;
    } else if (Password == "" || Password == null) {
        alert("输入密码呀！等什么呢？");
        loginForm.Password.focus();
        return false;
    }
    return true;

}
//注册非空判断
function checkRegister() {
    var Username = registerForm.Username.value;
    var Name = registerForm.Name.value;
    var Password = registerForm.Password.value;
    if (Username == "" || Username == null) {
        alert("用户名不能为空！");
        registerForm.Username.focus();
        return false;
    } else if (Password == "" || Password == null) {
        alert("密码不能为空！");
        registerForm.Password.focus();
        return false;
    } else if (Name == "" || Name == null) {
        alert("姓名不能为空！");
        registerForm.Name.focus();
        return false;
    }
    return true;

}